<body style="padding:6px; overflow:hidden;"> 
  
    <div id="maingrid" style="margin:0; padding:0"></div> 
    <div style="display:none;"> 
  <!-- g data total ttt --> 
</div> 
  
</body> 
 
 
 	<form  action="" name="query" id="query">
		<input type="hidden" name="domainId" value="${domainId}" />
   </form>
   
   
<script type="text/javascript"> 
 
//----------------------------------------------------------------------- 
 var g = null; 
        $(function () { 
           g = $("#maingrid").ligerGrid({ 
                columns:  [
					{ display: 'ID', name: 'id', width: 30},
       				{ display: '域名称', name: 'domainName', width: 100},
       				{ display: '域code', name: 'domainCode', width: 100},
       				{ display: 'app_id', name: 'appId', width: 100,render: function (item){
			   				return "<a title='"+item.appId+"'>"+item.appId+"</a>";
			  			}
			  		},
       				{ display: '渠道id', name: 'appChannelId', width: 100},
       				{ display: '渠道', name: 'appChannel', width: 100,render:epay_enum.channels.type.render}
	            ], 
			  pageSize:10, 
              url: '${appServer}/domainappchannel/query.json',
              root:'rows', 
              pageSize:10,
			  page:1,
			  record :'total',
			 pageParmName :'page',
			 pagesizeParmName :'pageSize',
			 parms : $("form").serializeArray(),
              width: '100%',height:'100%' 
            });  
            $("#pageloading").hide(); 
        }); 
        function f_select() 
        { 
            return g.getSelectedRow(); 
        } 
 
 
</script> 